package org.yaac.client.util;

import com.google.gwt.user.client.Element;

/**
 * @author Max Zhu (thebbsky@gmail.com)
 *
 */
public class DOMUtil {

	/**
	 * @param e
	 */
	public static void scrollToBottom(Element e) {
		e.setScrollTop(e.getScrollHeight() - e.getClientHeight());
	}
}
